package com.fypg.module.blooddonation.api.client.dal.bloodStation;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 响应头信息
 * @author 盘古
 */
@Data
@Schema(description = "响应头信息")
public class ResponseHead {

    /**
     * 响应创建时间
     * 格式: yyyy-MM-dd HH:mm:ss
     */
    @Schema(
            description = "响应创建时间",
            example = "2020-08-11 17:53:28"
    )
    private String createTime;

    /**
     * 服务方标识
     * 标识提供服务的系统或模块
     */
    @Schema(
            description = "服务方标识",
            example = "blood-donation-service"
    )
    private String serviceId;

    /**
     * 响应状态码
     * 200-成功, 其他-错误码
     */
    @Schema(
            description = "响应状态码",
            example = "200"
    )
    private String responseCode;
}
